<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1048</width>
    <height>647</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>PressureFall</string>
  </property>
  <property name="styleSheet">
   <string notr="true">background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(80, 146, 158, 255), stop:1 rgba(19, 38, 125, 255));
font-family: Noto Sans SC;</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <property name="font">
    <font>
     <family>Noto Sans SC</family>
    </font>
   </property>
   <property name="styleSheet">
    <string notr="true">background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(80, 146, 158, 255), stop:1 rgba(19, 38, 125, 255))</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_3">
    <item>
     <layout class="QHBoxLayout" name="res_and_fluid">
      <item>
       <widget class="QFrame" name="result_frame">
        <property name="maximumSize">
         <size>
          <width>400</width>
          <height>16777215</height>
         </size>
        </property>
        <property name="styleSheet">
         <string notr="true">background-color: rgba(255, 255, 255, 30); 
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;</string>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout">
         <property name="spacing">
          <number>0</number>
         </property>
         <property name="leftMargin">
          <number>12</number>
         </property>
         <property name="topMargin">
          <number>12</number>
         </property>
         <property name="rightMargin">
          <number>12</number>
         </property>
         <property name="bottomMargin">
          <number>12</number>
         </property>
         <item>
          <widget class="QLabel" name="result">
           <property name="font">
            <font>
             <family>Noto Sans SC</family>
             <pointsize>20</pointsize>
             <bold>true</bold>
            </font>
           </property>
           <property name="styleSheet">
            <string notr="true">color: white;
font-weight: bold;
font-size: 20pt;
background-color: none;
border: none</string>
           </property>
           <property name="text">
            <string>Result:</string>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="pressure_drop">
           <property name="spacing">
            <number>0</number>
           </property>
           <item>
            <widget class="QLabel" name="key_pressure">
             <property name="enabled">
              <bool>true</bool>
             </property>
             <property name="maximumSize">
              <size>
               <width>1000</width>
               <height>1000</height>
              </size>
             </property>
             <property name="font">
              <font>
               <family>Noto Sans SC</family>
               <pointsize>15</pointsize>
               <bold>false</bold>
              </font>
             </property>
             <property name="styleSheet">
              <string notr="true">color: white;
font-weight: regular;
font-size: 15pt;
background-color: none;
border: none</string>
             </property>
             <property name="text">
              <string>Pressure drop:</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="value_pressure">
             <property name="font">
              <font>
               <family>Noto Sans SC</family>
               <pointsize>25</pointsize>
              </font>
             </property>
             <property name="styleSheet">
              <string notr="true">color: white;
font-size: 25pt;
background-color: none;
border: none</string>
             </property>
             <property name="text">
              <string>10000 Pa</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <layout class="QHBoxLayout" name="coeff_total_resist">
           <property name="spacing">
            <number>0</number>
           </property>
           <item>
            <widget class="QLabel" name="key_coeff">
             <property name="font">
              <font>
               <family>Noto Sans SC</family>
               <pointsize>15</pointsize>
               <bold>false</bold>
              </font>
             </property>
             <property name="styleSheet">
              <string notr="true">color: white;
font-weight: regular;
font-size: 15pt;
background-color: none;
border: none</string>
             </property>
             <property name="text">
              <string>coeff total resist.:</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="value_coeff">
             <property name="font">
              <font>
               <family>Noto Sans SC</family>
               <pointsize>25</pointsize>
              </font>
             </property>
             <property name="styleSheet">
              <string notr="true">color: white;
font-size: 25pt;
background-color: none;
border: none</string>
             </property>
             <property name="text">
              <string>0,123</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="settings_fluid_frame">
        <item>
         <widget class="QFrame" name="fluid_frame">
          <property name="styleSheet">
           <string notr="true">background-color: rgba(255, 255, 255, 30); 
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;</string>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_2">
           <property name="leftMargin">
            <number>12</number>
           </property>
           <property name="topMargin">
            <number>12</number>
           </property>
           <property name="rightMargin">
            <number>12</number>
           </property>
           <property name="bottomMargin">
            <number>12</number>
           </property>
           <item>
            <layout class="QHBoxLayout" name="name_fluid">
             <item>
              <widget class="QLabel" name="fluidname">
               <property name="maximumSize">
                <size>
                 <width>110</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>15</pointsize>
                 <bold>true</bold>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: bold;
font-size: 15pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Water&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout" name="density_fluid">
             <item>
              <widget class="QLabel" name="key_density">
               <property name="maximumSize">
                <size>
                 <width>110</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>Density:</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="value_density">
               <property name="maximumSize">
                <size>
                 <width>100</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>997</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="unit_density">
               <property name="maximumSize">
                <size>
                 <width>50</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;kg/m&lt;span style=&quot; vertical-align:super;&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout" name="viscos_fluid">
             <item>
              <widget class="QLabel" name="key_viscos">
               <property name="maximumSize">
                <size>
                 <width>110</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>Dynamic visc.:</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="value_viscos">
               <property name="maximumSize">
                <size>
                 <width>100</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>0,894</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="unit_viscos">
               <property name="maximumSize">
                <size>
                 <width>50</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>mPa</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout" name="massflow_fluid">
             <item>
              <widget class="QLabel" name="key_massflow">
               <property name="maximumSize">
                <size>
                 <width>110</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>Massflow:</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="value_massflow">
               <property name="maximumSize">
                <size>
                 <width>100</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>1</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLabel" name="unit_massflow">
               <property name="maximumSize">
                <size>
                 <width>50</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="font">
                <font>
                 <family>Noto Sans SC</family>
                 <pointsize>12</pointsize>
                </font>
               </property>
               <property name="styleSheet">
                <string notr="true">color: white;
font-weight: regular;
font-size: 12pt;
background-color: none;
border: none</string>
               </property>
               <property name="text">
                <string>kg/s</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
          </layout>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="btn_edit_fluid_settings">
          <property name="maximumSize">
           <size>
            <width>90</width>
            <height>200</height>
           </size>
          </property>
          <property name="font">
           <font>
            <family>Noto Sans SC</family>
            <pointsize>10</pointsize>
            <bold>true</bold>
           </font>
          </property>
          <property name="styleSheet">
           <string notr="true">QPushButton {
color: white;
background-color: rgba(255, 255, 255, 30);
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;
width: 90px;
height: 200px;
}


QPushButton:hover {
background-color: rgba(255, 255, 255, 40);
}

QPushButton:pressed {
background-color: rgba(255, 255, 255, 70);
}</string>
          </property>
          <property name="text">
           <string>Edit fluid</string>
          </property>
          <property name="icon">
           <iconset resource="res-rc.qrc">
            <normaloff>:/icons/icons/edit_white_36dp.svg</normaloff>:/icons/icons/edit_white_36dp.svg</iconset>
          </property>
          <property name="iconSize">
           <size>
            <width>24</width>
            <height>24</height>
           </size>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </item>
    <item>
     <layout class="QHBoxLayout" name="actions_elements_line">
      <item>
       <widget class="QPushButton" name="btn_add_element">
        <property name="font">
         <font>
          <family>Noto Sans SC</family>
          <pointsize>10</pointsize>
          <bold>true</bold>
         </font>
        </property>
        <property name="styleSheet">
         <string notr="true">QPushButton {
color: white;
background-color: rgba(255, 255, 255, 30);
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;
width: 90px;
height: 50px;
}

QPushButton:hover {
background-color: rgba(255, 255, 255, 40);
}

QPushButton:pressed {
background-color: rgba(255, 255, 255, 70);
}</string>
        </property>
        <property name="text">
         <string>Add element</string>
        </property>
        <property name="icon">
         <iconset resource="res-rc.qrc">
          <normaloff>:/icons/icons/post_add_white_24dp.svg</normaloff>:/icons/icons/post_add_white_24dp.svg</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="btn_edit_element">
        <property name="font">
         <font>
          <family>Noto Sans SC</family>
          <pointsize>10</pointsize>
          <bold>true</bold>
         </font>
        </property>
        <property name="styleSheet">
         <string notr="true">QPushButton {
color: white;
background-color: rgba(255, 255, 255, 30);
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;
width: 90px;
height: 50px;
}

QPushButton:hover {
background-color: rgba(255, 255, 255, 40);
}

QPushButton:pressed {
background-color: rgba(255, 255, 255, 70);
}</string>
        </property>
        <property name="text">
         <string>Edit element</string>
        </property>
        <property name="icon">
         <iconset resource="res-rc.qrc">
          <normaloff>:/icons/icons/edit_white_36dp.svg</normaloff>:/icons/icons/edit_white_36dp.svg</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="btn_del_element">
        <property name="font">
         <font>
          <family>Noto Sans SC</family>
          <pointsize>10</pointsize>
          <bold>true</bold>
         </font>
        </property>
        <property name="styleSheet">
         <string notr="true">QPushButton {
color: white;
background-color: rgba(255, 255, 255, 30);
border: 1px solid rgba(255, 255, 255, 40);
border-radius: 7px;
width: 90px;
height: 50px;
}

QPushButton:hover {
background-color: rgba(255, 255, 255, 40);
}

QPushButton:pressed {
background-color: rgba(255, 255, 255, 70);
}</string>
        </property>
        <property name="text">
         <string>Delete element</string>
        </property>
        <property name="icon">
         <iconset resource="res-rc.qrc">
          <normaloff>:/icons/icons/delete_white_24dp.svg</normaloff>:/icons/icons/delete_white_24dp.svg</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
     <widget class="QTableWidget" name="table_elements_line">
      <property name="toolTip">
       <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
      </property>
      <property name="toolTipDuration">
       <number>0</number>
      </property>
      <property name="autoFillBackground">
       <bool>true</bool>
      </property>
      <property name="styleSheet">
       <string notr="true">QTableWidget {
background-color: rgba(255, 255, 255, 30);
border: 1px solid rgba(255, 255, 255, 40);
border-bottom-right-radius: 7px;
border-bottom-left-radius: 7px;
}

QTableWidget::section {
background-color: rgb(53, 53, 53);
color: white;
border: none;
height: 50px;
font-size: 14pt;
}

QTableWidget::item {
border: 1px solid rgba(255, 255, 255, 40);
color: white;
font: 700 10pt &quot;NotoSansSC-Bold-Alphabetic&quot;;
text-align: right;
}

QTableWidget::item:selected {
border: none;
color: rgba(255, 255, 255);
background-color: rgba(255, 255, 255, 50);
text-align: right;
}

QHeaderView::section {
background-color: rgba(255, 255, 255, 30);
color: white;
border: none;
height: 30px;
font: 700 10pt &quot;NotoSansSC-Bold-Alphabetic&quot;;

}


QTableWidgetItem {
background-color: rgba(255, 255, 255, 30);
color: white;
border: none;
height: 30px;
font-size: 10pt;
}



QTableWidgetItem::section {
background-color: rgba(255, 255, 255, 40);
color: white;
border: none;
height: 30px;
font-size: 10pt;
}




</string>
      </property>
      <property name="verticalScrollBarPolicy">
       <enum>Qt::ScrollBarAlwaysOff</enum>
      </property>
      <property name="horizontalScrollBarPolicy">
       <enum>Qt::ScrollBarAlwaysOff</enum>
      </property>
      <property name="alternatingRowColors">
       <bool>false</bool>
      </property>
      <property name="showGrid">
       <bool>true</bool>
      </property>
      <property name="gridStyle">
       <enum>Qt::NoPen</enum>
      </property>
      <property name="rowCount">
       <number>0</number>
      </property>
      <attribute name="horizontalHeaderCascadingSectionResizes">
       <bool>false</bool>
      </attribute>
      <attribute name="horizontalHeaderMinimumSectionSize">
       <number>37</number>
      </attribute>
      <attribute name="horizontalHeaderDefaultSectionSize">
       <number>130</number>
      </attribute>
      <attribute name="horizontalHeaderStretchLastSection">
       <bool>false</bool>
      </attribute>
      <attribute name="verticalHeaderVisible">
       <bool>false</bool>
      </attribute>
      <attribute name="verticalHeaderMinimumSectionSize">
       <number>30</number>
      </attribute>
      <attribute name="verticalHeaderDefaultSectionSize">
       <number>30</number>
      </attribute>
      <attribute name="verticalHeaderHighlightSections">
       <bool>false</bool>
      </attribute>
      <column>
       <property name="text">
        <string>index</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
         <underline>false</underline>
         <stylestrategy>PreferDefault</stylestrategy>
         <kerning>false</kerning>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>type</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>cross-section</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>roughness</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>length</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>diameter</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>angle</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
      <column>
       <property name="text">
        <string>pressure_drop</string>
       </property>
       <property name="font">
        <font>
         <family>NotoSansSC-Bold-Alphabetic</family>
         <pointsize>10</pointsize>
         <bold>true</bold>
        </font>
       </property>
      </column>
     </widget>
    </item>
   </layout>
  </widget>
  <action name="action_6">
   <property name="text">
    <string>Новый расчет</string>
   </property>
  </action>
  <action name="action_7">
   <property name="text">
    <string>Открыть расчет</string>
   </property>
  </action>
  <action name="action_8">
   <property name="text">
    <string>Справка</string>
   </property>
  </action>
  <action name="action_12">
   <property name="text">
    <string>Выход</string>
   </property>
  </action>
  <action name="action_13">
   <property name="text">
    <string>Добавить материал</string>
   </property>
  </action>
  <action name="action_14">
   <property name="text">
    <string>Редактировать материал</string>
   </property>
  </action>
 </widget>
 <resources>
  <include location="res-rc.qrc"/>
 </resources>
 <connections/>
</ui>
